package com.vito.base.authoriza.dao;

import java.util.List;
import java.util.Map;

import com.vito.base.model.MyHashMap;
import com.vito.dcs.section.model.SectionModel;


public interface SectionMapper {
	
	void saveSection(SectionModel sectionModel);
	void saveWorkArea(SectionModel sectionModel);
	void updateSection(SectionModel sectionModel);
	void updateWorkArea(SectionModel sectionModel);
	List<SectionModel> querySectionByPage(SectionModel sectionModel);
	List<SectionModel> queryWorkArea(SectionModel sectionModel);
	void updateStatus(SectionModel sectionModel);
	void updateDeptWhenWorkChange(SectionModel sectionModel);
	
	void deleteBaseImport(Map<String, Object> map);
	void deleteBaseImportError(Map<String, Object> map);
	
	public void saveImp(Map<String,Object> map);
	public Integer queryErrorCount(Map<String,Object> map);
	public List<MyHashMap<String, Object>> queryErrorItemByPage(Map<String, Object> map);
	public List<MyHashMap<String, Object>> queryMemberFromImportByPage(Map<String, Object> map);
	void saveValidateNew(Map<String, Object> map);
	
	List<Map<String,Object>> queryProjectTree(Map<String,Object> map);
	
	void savePile(Map<String,Object> map);
	void savePile2(Map<String,Object> map);
	List<Map<String,Object>> queryAllGPS(Map<String,Object> map);
	
	String queryCurrentProcessType(Map<String,Object> map);
	
	int queryIsHaveVehicle(SectionModel sectionModel);
}



